import { request } from 'umi';

export async function currentUser(params: any){
    return request('/api/user/currentUser',{
        method:'GET',
        params,
    })
}

//签到接口（待完善）
export async function getSign(params: any){
    return request('/api/user/getSign',{
        method:'GET',
        params,
    })
}